<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>活动统计管理</title>
	<meta name="decorator" content="default"/>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/base.css">
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/approve/personStatistic/">党员积分明细</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="homeApprove" action="${ctx}/approve/personStatistic/" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<ul class="ul-form">
			<li class="btns" style="float:right"><input id="btnSubmit" class="btn btn-primary" type="button" value="返回" onclick="window.location.href='${ctx}/approve/partyStatistic/?repage'"/></li>
		</ul>
	</form:form>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>活动名称</th>
				<th>开始时间</th>
				<th>结束时间</th>
				<th>活动地点</th>
				<th>类型</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${organizeLifeList}" var="organizeLife">
				<tr>
					<td>${organizeLife.lifename}</td>
					<td><fmt:formatDate value="${organizeLife.starttime}" pattern="yyyy-MM-dd HH:mm"/></td>				
					<td><fmt:formatDate value="${organizeLife.endtime}" pattern="yyyy-MM-dd HH:mm"/></td>
					<td>${organizeLife.adress}</td>
					<td>${organizeLife.typeids}</td>

					
				</tr>
			</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>